package com.building18.service;

import com.building18.pojo.Owner;
import com.building18.pojo.vo.OwnerVO;

import java.util.List;

public interface OwnerService {
    List<Owner> selectOwner();

    Integer deleteOwnerById(Integer id);

    Integer addOwner(Owner owner);

    Integer updateOwner(Owner owner);

    List<Owner> selectOwnerByName(String name);

    Integer deleteOwnerByIds(Integer[] ids);

    List<OwnerVO> getOwnerNameAndId();

    OwnerVO getOwnerById(Integer id);
}